let ErrorUtils = require('../utils/error/ErrorUtils');
let UploadService = require('../service/upload');
let ResponseUtils = require('../utils/ResponseUtils');
const {infoLogger, errorLogger} = require('../config').logger;
class UploadController {
    static async upload(ctx) {
        let result = await UploadService.upload(ctx);
        ctx.body = ResponseUtils.builder(result).success().build();
    }
}
module.exports = UploadController;
